package events;

import dustdispatcher.DustTask;

/**
 * This event is thrown when a DustTask is going to be destroyed. Note that
 * this means when the finalize() method of that DustTask is called and not
 * when its run method exits. This has to be remarked because right now i don't
 * know if the finalize() method *is only* called when run() ends or it can
 * be called in other situations. Of course we can create a DustTask that
 * calls its own finalize() method but what i mean with this is that i don't
 * know if the JVM can invoke the finalize() method of a thread without having
 * its run() method ends.
 * 
 * @author ole
 */
public class DustTaskFinishedEvent extends DustTaskEvent {
	private static final long serialVersionUID = 1L;

	/**
	 * Class constructor.
	 * 
	 * @param source:
	 * 		The DustTask that is finishing.
	 */
	public DustTaskFinishedEvent(DustTask source) {
		super(source);
	}
}
